<?php 
namespace Home\Model;
use Think\Model;
class VerifyModel extends Model {

	public function getOneVerify()
	{
		$sql = "select * from verify order by rand() limit 1";

		$question = $this->query($sql);

		$question = current($question);

		$_SESSION['answer'] = $question['answer'];

		return $question['question'];
	}
}


 ?>